        <%
             String nome =(String) request.getAttribute("file");
             byte[] bytes=(byte[])it.publisys.framework.utilita.Utilita.getRequest().getAttribute("byte");
             if(bytes!=null){
                 response.reset();
                 response.setContentType("text/download");
                 response.setHeader("Content-Disposition", "attachment; filename="+nome);
                 response.setContentLength(bytes.length);
                 javax.servlet.ServletOutputStream os = response.getOutputStream();
                 os.write(bytes, 0, bytes.length);
                 os.flush();
                 os.close();
             }
        %>
        
    